All Questions
5 questions
1vote
1answer
614views
Recommended architecture for an interactive table widget with multiple behaviors in Javascript / jQuery
Use case: For an administration UI, I want an interactive table widget with a number of behaviors: Collapse / expand (yes, this means the rows are a hierarchy) Update of data in a child cell based on ...
11votes
3answers
6kviews
Object Oriented Programming in JavaScript. Is there life without it? [duplicate]
At our company we have pretty large body of PrototypeJS based JavaScript code, which we are porting to jQuery for several reasons (not really important here). I'm trying to set up coding guidelines to ...
21votes
5answers
3kviews
How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript
I'm pretty new in our develepors team. I need some strong arguments and/or "pitfall" examples, so my boss will finally understand the advantages of Unobtrusive JavaScript, so that he, and the rest of ...
1vote
2answers
417views
Difference between templates in JavaScript and design patterns
What is the difference between templates and design patterns in JavaScript? I read about the template method design pattern and now I wonder how it relates to JavaScript templates (if at all).
7votes
3answers
3kviews
Using CSS classes as decorators - a good pattern?
I've been building a web-app with a fairly complex GUI - many small elements alongside eachother and within other elements that need various behaviours (dragging, clicking, but context-sensitive). My ...